#ifndef MESH_H
#define MESH_H
#include <vector>
#include "Geometry.h"
#include "glm/glm.hpp"

namespace renderengine
{   
    class Material;

    
    class Mesh :public Geometry
    {

    public:
        Mesh();
        ~Mesh();

        void setPosition(std::vector<glm::vec3> position);
        void setNormal(std::vector<glm::vec3> normal);
        void setTexcoord(std::vector<glm::vec2> texcoord);
    private:

        std::shared_ptr<Material> m_Material;
        
        std::vector<glm::vec3> m_vPosition;
        std::vector<glm::vec3> m_vNormal;
        std::vector<glm::vec2> m_vTexcoord;
        
        float* m_Position;
        float* m_Normal;
        float* m_Texcoord;
        float* m_indices;


    };
}

#endif 
